package cn.stylefeng.guns.modular.basic.service;


import cn.stylefeng.guns.modular.hx.basic.service.HxBasicGoodsService;
import cn.stylefeng.guns.modular.hx.order.service.HxOrderPutService;
import cn.stylefeng.guns.modular.order.service.OrderTransportService;
import cn.stylefeng.guns.modular.storage.service.StorageStockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

@Configuration
@EnableScheduling
public class TaskAppointment {

    @Autowired
    private HxOrderPutService hxOrderPutService;
	@Autowired
	private HxBasicGoodsService hxBasicGoodsService;

	/**
	 * 5分钟执行一次
	 */
	//@Scheduled(cron = "0 0/30 * * * ?")
//	@Scheduled(cron = "0 0 0 * * ?") //5分钟执行一次
//	public void job() {

//		hxOrderPutService.taskAppointment();//查询新零帮入库单
//	}

	/**
	 * 5分钟执行一次
	 */
	//@Scheduled(cron = "0 0/30 * * * ?")
//	@Scheduled(cron = "0 0/5 * * * ?") //5分钟执行一次
//	public void job1() {

//		hxOrderPutService.taskAppointment1();//查询新零帮退货单
//	}
}
